package com.open.capacity.user.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * Created by fengtangquan on 2019/9/6.
 * 系统配置
 */
@Data
public class SysConfig implements Serializable {

    private static final long serialVersionUID = 4497149010220586111L;
    @JsonSerialize(using=ToStringSerializer.class)
    private String id;
    private String key;
    private String name;
    private String value;
    @JsonFormat(timezone="GMT+8",pattern="yyyy-MM-dd HH:mm:ss.SSS")
    private Date updateTime;
    private String updateUserid;
    private String updateUsername;
}
